<?php
class fragmentApi extends baseApi{

	public function hook_menu_expand(){
        return array(
            0 => array('name'=>'碎片管理','url'=>url('admin_list/index'),'sequence'=>1),
            );
    }

    public function hook_purview_admin()
    {
        return array(
            'admin_list'=>array(
                'name'=>'碎片管理',
                'auth'=>array(
                    'index'=>'列表',
                    'add'=>'添加',
                    'edit'=>'编辑',
                    'del'=>'删除',
                ),
            ),
        );
    }

	//获取碎片信息
	public function info_label($sign)
    {
    	return model('fragment')->info_label($sign);
    }
}